getcontext, makecontext, setcontext, swapcontext
authorThomas Schwinge <thomas@codesourcery.com>
Sat, 12 Jan 2019 17:50:25 +0000 (17:50 +0000)
committerAurelien Jarno <aurel32@debian.org>
Sat, 12 Jan 2019 17:50:25 +0000 (17:50 +0000)
commit837594bfe27028a255f33ed569fe36c578890e1d
treee0fe2bf2c058c64e3c65f0b75a09ba7030b36e65
parentcd7cce980627f81eb0cea533c550e607571dfb2d
getcontext, makecontext, setcontext, swapcontext

Adapted from the Linux x86 functions.

Not thoroughly tested, but manual testing as well as glibc tests look fine, and
manual -lpthread testing also looks fine (within the given bounds for a new
stack to be used with makecontext).

Gbp-Pq: Topic hurd-i386
Gbp-Pq: Name tg-context_functions.diff
sysdeps/mach/hurd/i386/Makefile
sysdeps/mach/hurd/i386/getcontext.S [new file with mode: 0644]
sysdeps/mach/hurd/i386/makecontext.S [new file with mode: 0644]
sysdeps/mach/hurd/i386/setcontext.S [new file with mode: 0644]
sysdeps/mach/hurd/i386/swapcontext.S [new file with mode: 0644]
sysdeps/mach/hurd/i386/ucontext_i.sym [new file with mode: 0644]